package com.lagou.model;

import java.io.Serializable;

/**
 * 考试题目与答案
 */

public class ExamMessage implements Serializable {
    private static final long serialVersionUID = -3408436594115465315L;
    private Exam exam;//考试题目的类型
    private String answer;//考试题目对应的答案

    public ExamMessage() {
    }

    public ExamMessage(Exam exam, String answer) {
        this.exam = exam;
        this.answer = answer;
    }

    public Exam getExam() {
        return exam;
    }

    public void setExam(Exam exam) {
        this.exam = exam;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }


}
